//
//  RootViewController.swift
//  sss
//
//  Created by 顾佳槟 on 2018/3/6.
//  Copyright © 2018年 lancoo. All rights reserved.
//

import UIKit
import ChameleonFramework

class RootViewController: UINavigationController {

    public weak var RootViewController:BaseViewController!
    
    public convenience init(_ rootViewController:BaseViewController) {
        self.init(rootViewController: rootViewController)
        self.RootViewController = rootViewController
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.navigationBar.setBackgroundImage(ToolMethod.CreateImage(color:UIColor.init(hexString: "EEEEEE")), for: .default)
//        self.navigationBar.isTranslucent = false
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }
}
